package com.zs.usc.constant;

/**
 * @author Zero
 * @description 关系类型约束
 * @date 2022/3/24 17:05
 */
public enum RelationConstraint {

    USER_ROLE("user_role", "用户角色关系"),
    ROLE_MENU("role_menu", "角色菜单关系"),
    USER_APP("user_server", "用户服务关系"),
    ;
    private String relationType;
    private String relationName;

    RelationConstraint(String relationType, String relationName) {
        this.relationType = relationType;
        this.relationName = relationName;
    }

    public String getRelationType() {
        return relationType;
    }

    public String getRelationName() {
        return relationName;
    }
}
